/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package aiaudio.processing.base.mapreduce;

import aiaudio.lastfm.hbase.CannotCreateTableException;
import java.io.IOException;
import org.apache.hadoop.hbase.client.HTable;

/**
 *
 * @author nastya
 */
public interface TemporaryTableCreator {

    HTable createTemporaryTable() throws CannotCreateTableException, IOException;
    HTable createTemporaryTable(String name) throws CannotCreateTableException, IOException;    
    void removeTemporaryTable(String name) throws IOException;    
    void removeAllTemporaryTables() throws IOException;
    HTable getTableByName(String name);

    public HTable createTemporaryMatrix(String name) throws CannotCreateTableException, IOException;

    public String getTableDatabaseName(String name) throws IOException;

}
